//
//  GPContactModel.h
//  Keping
//
//  Created by 23 on 2017/12/7.
//  Copyright © 2017年 柯平. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GPConversationItem.h"

@interface GPContactModel : NSObject

/**昵称*/
@property(nonatomic,copy) NSString *nickName;
/**id*/
@property(nonatomic,copy) NSString *partyId;
/**电话*/
@property(nonatomic,copy) NSString *phone;
/**prix*/
@property(nonatomic,copy) NSString *prix;
/**头像地址*/
@property(nonatomic,copy) NSString *profile;
/**状态 =add as friend 1=waiting for approval 2=friends 4=accept */
@property(nonatomic,assign) NSInteger status;

/**未读标识*/
@property(nonatomic,assign) BOOL unRead;


/**subtitle*/
@property(nonatomic,copy) NSString *subTitle;
/**context*/
@property(nonatomic,strong) id context;

/**通过GPConversationItem转换成当前对象*/
- (instancetype)initWithConversation:(GPConversationItem *)conversation;

@end
